WPForms\Integrations\Gutenberg\FormSelector A

Total Complexity 59
Dependencies 3
Dependents 1
Total lines 1,110
Lines of code 590
Logical lines of code 147
Comment lines 326
Methods 24
Properties 7

Methods 24

Method Rating Maintainability Complexity Lines of code
register_block()
A
33 1 149
get_localize_data()
A
29
1 141
output_css_vars()
S
54 6 21
get_content()
S
46 4 45
add_class_callback()
S
54 5 20
enqueue_block_editor_assets()
S
45 3 48
maybe_override_block_attributes()
S
61 5 11
register_styles()
S
54 4 22
get_form_html()
S
56 4 17
output_custom_css()
S
57 3 17
get_form_list()
S
57 3 16
is_gb_editor()
S
76 4 3
replace_wpforms_frontend_container_class_filter()
S
63 3 10
disable_fields_in_gb_editor()
S
56 1 23
form_action_filter()
S
71 2 6
filter_is_honeypot_enabled()
S
72 2 6
protected_data_callback()
S
75 1 4
protected_permissions_callback()
S
75 1 4
load()
S
67 1 7
enable_block_translations()
S
80 1 3
register_api_route()
S
76 1 4
is_legacy_block()
S
78 1 3
hooks()
S
67 1 7
allow_load()
S
80 1 3